package demo4;

public class Test {
    public static void main(String[] args) {
        MySingleList mySingleList=new MySingleList();
        System.out.println("===================");
        mySingleList.createList();
        mySingleList.display();
        System.out.println();
        System.out.println("===================");
        mySingleList.addFirst(12);
        mySingleList.addFirst(23);
        mySingleList.addFirst(34);
        mySingleList.addFirst(45);
        mySingleList.addFirst(56);
        mySingleList.display();
        System.out.println();
        System.out.println("===================");
        mySingleList.addLast(67);
        mySingleList.display();
        System.out.println();
        System.out.println("===================");
        mySingleList.addInsert(2,33);
        mySingleList.display();

    }
}
